Skip to content

Conversation

@antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jan 9, 2026

A warning that python setup.py develop is deprecated and will no longer be supported at the end of October, 2025 has been ongoing for some time when using dpnp build driver scripts, and can be seen in the CI.

The PR proposes instead relying on pip for installing dpnp in scripts, and reworks the scripts to maintain use of scikit-build.
In the future, this will also simplify a transition to scikit-build-core.

This PR also introduces options

  • --clean and --skip-editable to build_locally driver
  • --clean and --skip-pytest to gen_coverage driver

Also it includes update of the documentation with new build instruction.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.20.0 release milestone Jan 9, 2026
@antonwolfy antonwolfy self-assigned this Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Array API standard conformance tests for dpnp=0.20.0dev1=py313h509198e_65 ran successfully.
Passed: 1229
Failed: 0
Skipped: 7

@antonwolfy antonwolfy marked this pull request as ready for review January 13, 2026 12:11
@coveralls
Copy link
Collaborator

coveralls commented Jan 14, 2026

Coverage Status

coverage: 81.095% (-0.2%) from 81.304%
when pulling 839fa53 on do-not-use-setup-py-develop
into 7b73f74 on master.

@antonwolfy antonwolfy force-pushed the do-not-use-setup-py-develop branch from fa4542c to 6b9c18f Compare January 15, 2026 18:45
@antonwolfy antonwolfy force-pushed the do-not-use-setup-py-develop branch from 311e43c to 8ceacaa Compare January 19, 2026 14:23
@vlad-perevezentsev vlad-perevezentsev self-requested a review January 19, 2026 16:21
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you @antonwolfy !

@antonwolfy antonwolfy merged commit 0ecd18e into master Jan 19, 2026
62 of 95 checks passed
@antonwolfy antonwolfy deleted the do-not-use-setup-py-develop branch January 19, 2026 18:10
github-actions bot added a commit that referenced this pull request Jan 19, 2026
A warning that `python setup.py develop` is deprecated and will no
longer be supported at the end of October, 2025 has been ongoing for
some time when using dpnp build driver scripts, and can be seen in the
CI.

The PR proposes instead relying on `pip` for installing dpnp in scripts,
and reworks the scripts to maintain use of `scikit-build`.
In the future, this will also simplify a transition to
`scikit-build-core`.

This PR also introduces options
* `--clean` and `--skip-editable` to `build_locally` driver
* `--clean` and `--skip-pytest` to `gen_coverage` driver

Also it includes update of the documentation with new build instruction. 0ecd18e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants